#pragma once
#include<iostream>
using namespace std;

template<class T>
void print(T& a);

template<class T>
class Stack
{
public:
	void Push(const T& x);
	void Pop();
private:
	T* _a = nullptr;
	int _top = 0;
	int _capacity = 0;
};